<!doctype html>
<html>
<head>
    <meta name="layout" content="main"/>
    <title> - Home</title>
</head>

<body>
<h1>Welcome to Bidsanity!</h1>
<h2>Current Listings</h2>
<g:render template="/listing/listingGrid" />
<g:if test = "${listingInstanceTotal > 0}">
    <div class="pagination"><g:paginate total="${listingInstanceTotal}" /></div>
</g:if>
<div>Total Open Listings: ${listingInstanceTotal}</div>
</body>
</html>
